package stdying.handyweibo.injection.module;

import dagger.Module;
import dagger.Provides;
import stdying.handyweibo.injection.PreActivity;
import stdying.handyweibo.presenter.WeiboAuthPresenter;
import stdying.handyweibo.ui.auth.WBAuthActivity;

/**
 * Description: WeiboAuthPresenterModule
 * <p>提供本WeiboAuthPresenter</p>
 * Author: liulili
 * Created: 2015-11-23
 */
//@Module(includes = WBAuthActivityModule.class)
@Module
public class WeiboAuthPresenterModule {

    @Provides
    @PreActivity
    WeiboAuthPresenter providesWeiboAuthPresenter(WBAuthActivity wbAuthActivity){
        return new WeiboAuthPresenter(wbAuthActivity);
    }
}

